source/derelict/lua/lua.d(57,31): Error: `@safe` function `loadSymbols` cannot access `__gshared` data `lua_newstate` source/derelict/lua/lua.d(57,18): Error: cast from `extern (C) lua_State* function(extern (C) void* function(void*, void*, ulong, ulong) nothrow, void*) nothrow @nogc*` to `void**` not allowed in safe code source/derelict/lua/lua.d(58,31): Error: `@safe` function `loadSymbols` cannot access `__gshared` data `lua_close` source/derelict/lua/lua.d(58,18): Error: cast from `extern (C) void function(lua_State*) nothrow @nogc*` to `void**` not allowed in safe code source/derelict/lua/lua.d(59,31): Error: `@safe` function `loadSymbols` cannot access `__gshared` data `lua_newthread` source/derelict/lua/lua.d(59,18): Error: cast from `extern (C) lua_State* function(lua_State*) nothrow @nogc*` to `void**` not allowed in safe code source/derelict/lua/lua.d(60,31): Error: `@safe` function `loadSymbols` cannot access `__gshared` data `lua_atpanic` source/derelict/lua/lua.d(60,18): Error: cast from `extern (C) extern (C) int function(lua_State*) nothrow function(lua_State*, extern (C) int function(lua_State*) nothrow) nothrow @nogc*` to `void**` not allowed in safe code source/derelict/lua/lua.d(61,31): Error: `@safe` function `loadSymbols` cannot access `__gshared` data `lua_version` source/derelict/lua/lua.d(61,18): Error: cast from `extern (C) const(double)* function(lua_State*) nothrow @nogc*` to `void**` not allowed in safe code source/derelict/lua/lua.d(62,31): Error: `@safe` function `loadSymbols` cannot access `__gshared` data `lua_absindex` source/derelict/lua/lua.d(62,18): Error: cast from `extern (C) int function(lua_State*, int) nothrow @nogc*` to `void**` not allowed in safe code source/derelict/lua/lua.d(63,31): Error: `@safe` function `loadSymbols` cannot access `__gshared` data `lua_gettop` source/derelict/lua/lua.d(63,18): Error: cast from `extern (C) int function(lua_State*) nothrow @nogc*` to `void**` not allowed in safe code source/derelict/lua/lua.d(64,31): Error: `@safe` function `loadSymbols` cannot access `__gshared` data `lua_settop` source/derelict/lua/lua.d(64,18): Error: cast from `extern (C) void function(lua_State*, int) nothrow @nogc*` to `void**` not allowed in safe code source/derelict/lua/lua.d(65,31): Error: `@safe` function `loadSymbols` cannot access `__gshared` data `lua_pushvalue` source/derelict/lua/lua.d(65,18): Error: cast from `extern (C) void function(lua_State*, int) nothrow @nogc*` to `void**` not allowed in safe code source/derelict/lua/lua.d(66,31): Error: `@safe` function `loadSymbols` cannot access `__gshared` data `lua_rotate` source/derelict/lua/lua.d(66,18): Error: cast from `extern (C) void function(lua_State*, int, int) nothrow @nogc*` to `void**` not allowed in safe code /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.